Optimal. Leaf size=63 \[ \frac {(a+b x)^m \left (a^2-b^2 x^2\right )^{p+1} \, _2F_1\left (1,m+2 p+2;m+p+2;\frac {a+b x}{2 a}\right )}{2 a b (m+p+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.06, antiderivative size = 85, normalized size of antiderivative = 1.35, number of steps used = 3, number of rules used = 3, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.136, Rules used = {680, 678, 69} \[ -\frac {2^{m+p} (a+b x)^m \left (a^2-b^2 x^2\right )^{p+1} \left (\frac {b x}{a}+1\right )^{-m-p-1} \, _2F_1\left (-m-p,p+1;p+2;\frac {a-b x}{2 a}\right )}{a b (p+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 69
Rule 678
Rule 680
Rubi steps
\begin {align*} \int (a+b x)^m \left (a^2-b^2 x^2\right )^p \, dx &=\left ((a+b x)^m \left (1+\frac {b x}{a}\right )^{-m}\right ) \int \left (1+\frac {b x}{a}\right )^m \left (a^2-b^2 x^2\right )^p \, dx\\ &=\left ((a+b x)^m \left (1+\frac {b x}{a}\right )^{-1-m-p} \left (a^2-a b x\right )^{-1-p} \left (a^2-b^2 x^2\right )^{1+p}\right ) \int \left (1+\frac {b x}{a}\right )^{m+p} \left (a^2-a b x\right )^p \, dx\\ &=-\frac {2^{m+p} (a+b x)^m \left (1+\frac {b x}{a}\right )^{-1-m-p} \left (a^2-b^2 x^2\right )^{1+p} \, _2F_1\left (-m-p,1+p;2+p;\frac {a-b x}{2 a}\right )}{a b (1+p)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.09, size = 85, normalized size = 1.35 \[ \frac {2^{m+p} (b x-a) (a+b x)^m \left (a^2-b^2 x^2\right )^p \left (\frac {b x}{a}+1\right )^{-m-p} \, _2F_1\left (-m-p,p+1;p+2;\frac {a-b x}{2 a}\right )}{b (p+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 1.09, size = 0, normalized size = 0.00 \[ {\rm integral}\left ({\left (-b^{2} x^{2} + a^{2}\right )}^{p} {\left (b x + a\right )}^{m}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (-b^{2} x^{2} + a^{2}\right )}^{p} {\left (b x + a\right )}^{m}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.82, size = 0, normalized size = 0.00 \[ \int \left (b x +a \right )^{m} \left (-b^{2} x^{2}+a^{2}\right )^{p}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (-b^{2} x^{2} + a^{2}\right )}^{p} {\left (b x + a\right )}^{m}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.02 \[ \int {\left (a^2-b^2\,x^2\right )}^p\,{\left (a+b\,x\right )}^m \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (- \left (- a + b x\right ) \left (a + b x\right )\right )^{p} \left (a + b x\right )^{m}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________